﻿// DrawState.h
// 
#if 0
#ifndef DRAWSTATE_ONCE
#define DRAWSTATE_ONCE

#include "Framework_Exports.h"

#include "RenderState.h"
#include "ClearState.h"
#include "OpenGL/Program.h"


namespace OpenGL {

class FWK_API DrawState
{
private:
	RenderState _renderState;
	ClearState  _clearState;
	Program     _program;

public:
	DrawState() {}

    DrawState( const RenderState &renderState, Program shaderProgram /*,VertexArray vertexArray*/ )
    {
        _renderState = renderState;
        _program     = shaderProgram;
        //VertexArray  = vertexArray;
    }

	void setShaderProgram( const Program &shader );
	void setRenderState( const RenderState &renerState );

    RenderState renderState()   const;
    Program     shaderProgram() const;

    //VertexArray VertexArray { get; set; }
};

}

#endif
#endif